CFILE:=$(wildcard *.c)
OBJ:=$(basename $(wildcard *.c))
CC=gcc

.PHONY:all 
all:$(OBJ)
	-echo $(OFILE)
	#-echo $(var)

$(OBJ):%:%.c
	$(CC) -o $@ $<

.PHONY:clean
clean:
	rm $(OBJ)
